import Vue from "vue";
import VueRouter from "vue-router";
import LiquefiedGasStation from "../views/LiquefiedGasStation.vue";
import PipeScreen from "../views/PipeScreen.vue";
Vue.use(VueRouter);
const routes = [
  {
    path: "/",
    name: "liquefiedGasStation",
    component: LiquefiedGasStation,
  },
  {
    path: "/pipeScreen",
    name: "pipeScreen",
    component: PipeScreen,
  },
  {
    path: "/pipelineGasStation",
    name: "pipelineGasStation",
    component: () =>
      import("../views/PipelineGasStation.vue"),
  },
];

const router = new VueRouter({
  mode: "history",
  base: process.env.BASE_URL,
  routes,
});

export default router;
